package com.ms3ds.mineInfo.api.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ms3ds.common.core.annotation.Excel;
import com.ms3ds.common.core.web.domain.BaseEntity;

/**
 * 班组对象 worker
 * 
 * @author zlw
 * @date 2025-09-18
 */
public class Worker extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 生产队id */

    private Long teamId;

    @Excel(name = "生产队名")
    private String teamName;

    @Excel(name = "工作区域")
    private String areaName;

    /** 姓名 */
    @Excel(name = "姓名")
    private String workerName;

    /** 个人编号 */
    @Excel(name = "个人编号")
    private String personalNumber;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String phone;

    /** 紧急联系方式 */
    @Excel(name = "紧急联系方式")
    private String emergencyNumber;

    /** 在岗状态(0离岗，1在岗) */
    @Excel(name = "在岗状态(0离岗，1在岗)")
    private Long status;

    /** 工作区域id */
    private Long areaId;

    /** 删除标志(0是存在，1是删除) */
    private String delFlag;

    public String getTeamName() {
        return teamName;
    }

    public void setTeamName(String teamName) {
        this.teamName = teamName;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setTeamId(Long teamId) 
    {
        this.teamId = teamId;
    }

    public Long getTeamId() 
    {
        return teamId;
    }

    public void setWorkerName(String workerName) 
    {
        this.workerName = workerName;
    }

    public String getWorkerName() 
    {
        return workerName;
    }

    public void setPersonalNumber(String personalNumber) 
    {
        this.personalNumber = personalNumber;
    }

    public String getPersonalNumber() 
    {
        return personalNumber;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public void setEmergencyNumber(String emergencyNumber) 
    {
        this.emergencyNumber = emergencyNumber;
    }

    public String getEmergencyNumber() 
    {
        return emergencyNumber;
    }

    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    public void setAreaId(Long areaId) 
    {
        this.areaId = areaId;
    }

    public Long getAreaId() 
    {
        return areaId;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("teamId", getTeamId())
            .append("workerName", getWorkerName())
            .append("personalNumber", getPersonalNumber())
            .append("phone", getPhone())
            .append("emergencyNumber", getEmergencyNumber())
            .append("status", getStatus())
            .append("areaId", getAreaId())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
